#ifndef _CANARY2_HTTP_SEND_RESPONSE_AW_H_
#define _CANARY2_HTTP_SEND_RESPONSE_AW_H_

#include "../coro/task.h"
#include "response.h"
#include <system_error>
#include "../coro/epoll_suspended_manager.h"
#include "../net/coro_tcp.h"

namespace wilson::http
{
    coro::task<size_t> send_response_func(
        coro::epoll_suspend_manager& esm, 
        net::tcp_io& io, 
        server::response resp, 
        ::std::error_code* ec
    );
}

#endif
